|
|
ShowTable of Contents
If you use the in-built date/time picker popup for the Edit Box control in XPages, be aware that when your XPage is used in Internet Explorer 8, when you click the date picker icon, the page can refresh immediately before a value can be selected. You can see an example here. This is resolved by enabling compatibility mode in the browser (there are a number of situations where this fixes abnormal functionality). For a more robust solution, you can add the following code to the beforePageLoad event of any XPages / custom controls where date pickers are used: try { if (context.getUserAgent().isIE(8, 8)) { var exCon = facesContext.getExternalContext(); var response = exCon.getResponse(); response.setHeader("X-UA-Compatible", "IE=EmulateIE7");
}
} catch (e) { }
This is a known issue with 8.5.1 hopefully to be addressed in 8.5.2. Paul Withers is a Domino Developer at Intec Systems Ltd. The original post of this and other tips / observations / tutorials are available at the Intec Blog |